#ifndef TALENT_H
#define TALENT_H

#include "xmlitem.h"
#include "level.h"

class Talent : public XMLItem
{
public:
    static const QString KEY_ACTION;
    static const QString KEY_KARMA;
    static const QString KEY_EFFORT;
    static const QString KEY_LEVEL;

    explicit Talent(const QMap<QString, QString> &values);
    Talent();
    virtual QString keyValue(const QString &key) const;

    R(QString,action)
    R(QString,karma)
    R(QString,effort)
    R(Level,level)
};

#endif // TALENT_H
